# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Checkbox)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Checkbox_SRCS checkPlugin.cpp)
QT4_WRAP_CPP(Checkbox_SRCS checkPlugin.h)

add_library(Checkbox SHARED ${Checkbox_SRCS})
add_dependencies(Checkbox KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Checkbox KontAMabil ${QT_LIBRARIES})

install(TARGETS Checkbox DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Checkbox ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )
